/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package collections;

import java.util.Iterator;

/**
 *
 * @author Oksana_Moroz
 */
public interface MyList<E> {
    
    int size();
    
    boolean isEmpty();
    
    int indexOf(E elem);
    
    boolean contains(E elem);
    
    Iterator<E> iterator();
    
    void add(E elem);
    
    boolean remove(E elem);    
}
